const mongoose = require("mongoose");
const connectDB = (url) => {
   console.log(url)
   return mongoose.connect(url, {
      useNewUrlParser: true,
      useUnifiedTopology: true,
   });
};
module.exports = connectDB;
